package com.purvar.dto;

public class Result {

    private String code;
    private String message;
    private String data;

    public static Result success(String success) {
        Result result = new Result();
        result.setCode("000000");
        result.setMessage("成功");
        result.setData(success);
        return result;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
